﻿using System.ComponentModel;
using System.Windows.Forms.Design;

namespace HML.Design
{
    /// <summary>
    /// AngleLabel控件设计模式行为
    /// </summary>
    internal class AngleLabelDesigner : ControlDesigner
    {
        public override SelectionRules SelectionRules
        {
            get
            {
                SelectionRules selectionRules = base.SelectionRules;
                selectionRules &= ~SelectionRules.AllSizeable;
                return selectionRules;
            }
        }

        public AngleLabelDesigner()
        {
            this.AutoResizeHandles = true;
        }

    }
}
